﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="AllCourseList.aspx.cs" Inherits="Theme_DL_AllCourseList" Title="课程菜单" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
   <table border="0" cellspacing="0" width="868" cellpadding="0" align="center">
        <tr>
            <td class="jdstyle">
                <a href="Default.aspx">
                    首页</a>
                
                > 课程菜单
            </td>
        </tr>
    </table>
     <table width="868" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td rowspan="2" valign="top">
                <table width="195" border="0" cellspacing="0" cellpadding="0" class="tit3">
                    <tr>
                        <td style="padding-left: 0">
                            <br style="height: 8px; line-height: 8px" />
                            <table width="158" border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr>
                                    <td class="button2">
                                        <a href="MyMsg.aspx">我的消息</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="EditPWD.aspx">修改密码</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="EditUser.aspx" <%--onclick="LeftClick('1')"--%> target="_self">个人资料</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button1">
                                        <a href="StudyCenter.aspx">我的课堂</a>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td class="button2">
                                        <a href="MyProject.aspx" nclick="LeftClick('2')">我的班级</a>
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td class="button2">
                                        <a href="SelectCourse.aspx" <%--onclick="LeftClick('3')"--%>>选课中心</a>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td class="button2">
                                        <a href="MyCourse.aspx" onclick="LeftClick('3')">我的课程</a>
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td class="button2">
                                        <a href="MyStowResource.aspx" <%--onclick="LeftClick('4')"--%>>我的会议</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>我的作业</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>我的考试</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>通知公告</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>在线调查</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>学分查询</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="button2">
                                        <a href="Channel.aspx" <%--onclick="LeftClick('5')"--%>>证书打印</a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td valign="top" align="right">
                <table width="660" border="0" cellspacing="0" cellpadding="0" class="tz">
                    <tr>
                        <td>
                           &nbsp;&nbsp;<strong>课程菜单</strong>
                        </td>
                    </tr>
                </table>
                <br style="height: 8px; line-height: 8px" />
                <table width="660" border="0" cellspacing="0" cellpadding="0" class="tit2" id="td_MyNew" runat="server">
                    <%--<tr>
                        <th>
                            课程菜单
                        </th>
                    </tr>--%>
                    <tr>
                        <td valign="top">
    
       
       
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2">
            <tr>
                <%--<td class="left" valign="top">
                    <!--专业树-->
                    <asp:TreeView ID="tv_Catalog" runat="server" ImageSet="Inbox" OnSelectedNodeChanged="tv_Catalog_SelectedNodeChanged">
                        <ParentNodeStyle Font-Bold="False" />
                        <HoverNodeStyle Font-Underline="True" />
                        <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
                        <NodeStyle Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" HorizontalPadding="5px"
                            NodeSpacing="0px" VerticalPadding="0px" />
                    </asp:TreeView>
                    <!-- end 专业树-->
                </td>--%>
                <td>
                    <%--<table width="100%" border="0" cellspacing="0" cellpadding="0" class="btnbg">
                        <tr>
                            
                            <td>
                                <asp:TextBox ID="txt_SearchKey" runat="server"></asp:TextBox>
                                <asp:Button ID="btn_SortSearch" runat="server" Text="搜 索" CssClass="inputBotton2" />&nbsp;
                                <a href="javascript:void(0)" onclick="showFloat()">
                                    高级搜索
                                </a>&nbsp;
                            </td>
                        </tr>
                    </table>--%>
                    <!--end 操作项-->
                    <asp:Repeater ID="rptCourse" runat="server">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                                <tr>
                                   
                                    <th class="height">
                                        <%=GetLanageValueByKey("lbl_Course_Name", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                        &nbsp;
                                        <!--课程名称-->
                                    </th>
                                    <th class="height">
                                        <%=GetLanageValueByKey("lbl_SetDepartmentAttributes_SpecialtyName", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                        &nbsp;
                                        <!--专业名称lbl_SetDepartmentAttributes_SpecialtyName-->
                                    </th>
                                    <th class="height">
                                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="orderby" CommandArgument="tc.CourseMostlyTeacherName">
                                        <%=GetLanageValueByKey("lbl_AddCourseInfo_TeacherName", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                                        <!--主讲教师--></asp:LinkButton>
                                    </th>
                                    <th class="height">
                                        <asp:LinkButton ID="lnkbtn_orderbynum" runat="server" CommandName="orderby" CommandArgument="tc.CourseResourceNum ">
                                        <%=GetLanageValueByKey("SystemDefoult_desc24", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                                        <!--资源总数--></asp:LinkButton>
                                    </th>
                                    <th class="height">
                                        <asp:LinkButton ID="lnkbtn_orderbystate" runat="server" CommandName="orderby" CommandArgument="tc.CourseState ">
                                        <%=GetLanageValueByKey("lbl_CourseResource_CourseState", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                                        <!--课程状态--></asp:LinkButton></th>
                                    <%--<th class="height">
                                        <%=GetLanageValueByKey("ManagerRole_gv_c4", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                                        &nbsp;
                                        <!-- 操作-->
                                    </th>--%>
                                </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                
                                <td>
                                <asp:Label ID="lblid" runat="server" Text='<%#Eval("CatalogcouID")%>' Visible="False"></asp:Label>
                                    <asp:Label ID="lbl_courseid" runat="server" Text='<%#Eval("Course_Id")%>' Visible="False"></asp:Label>
                                    <%#Eval("CourseName")%>
                                    &nbsp;
                                </td>
                                <td>
                                    <%#Eval("CatalogName")%>
                                    &nbsp;
                                </td>
                                <td>
                                    <%#Eval("CourseMostlyTeacherName")%>
                                    &nbsp;
                                </td>
                                <td>
                                    <%#Eval("CourseResourceNum")%>
                                    &nbsp;
                                </td>
                                <td>
                                    <%#opCourse.GetCourseStateByData(int.Parse(Eval("CourseState").ToString()), GetLanageValueByKey("State_Msg2", PowerCreator.LMS.Language.LanagetItemType.Page), GetLanageValueByKey("AddCourseInfo_db_d2", PowerCreator.LMS.Language.LanagetItemType.Page))%>
                                    &nbsp;
                                </td>
                                <%--<td>
                                    <asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("Course_Id")%>'> 查看&nbsp;
                        <!--编辑--></asp:LinkButton>
                                   
                                    <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </td>--%>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center">
                                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                                    ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                                    InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                                    FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                                </webdiyer:AspNetPager>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
        
       </td>
       </tr>
       </table>
       </td>
       </tr>
       </table>

        <div id="doing" style="filter: alpha(opacity=30); -moz-opacity: 0.3; opacity: 0.3;
            background-color: #000; width: 100%; height: 100%; z-index: 1000; position: absolute;
            left: 0; top: 0; display: none; overflow: hidden;">
        </div>
        <div id="divLogin" style="border: solid 10px #898989; background: #fff; padding: 10px;
            width: 780px; z-index: 1001; position: absolute; display: none; top: 50%; left: 50%;
            margin: -200px 0 0 -400px;">
            <div style="padding: 3px 15px 3px 15px; text-align: left; vertical-align: middle;">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2">
                    <tr>
                        <th class="tree-bottom-bg1">
                            <asp:Label ID="lbl_Search" runat="server" Text=""></asp:Label></th>
                    </tr>
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>
                                        <asp:Label ID="lbl_CourseName" runat="server" Text=""></asp:Label></th>
                                    <td>
                                        <asp:TextBox ID="txt_CourseName" runat="server"></asp:TextBox></td>
                                    <th>
                                        <asp:Label ID="lbl_CourseMostlyTeacherName" runat="server" Text=""></asp:Label></th>
                                    <td>
                                        <asp:TextBox ID="txt_CourseMostlyTeacherName" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <th>
                                        <asp:Label ID="lbl_Catalog" runat="server" Text=""></asp:Label></th>
                                    <td>
                                        <asp:DropDownList ID="ddl_Catalog" runat="server">
                                        </asp:DropDownList></td>
                                    <th>
                                        <asp:Label ID="lbl_CourseType" runat="server" Text=""></asp:Label></th>
                                    <td>
                                        <asp:DropDownList ID="ddl_CourseType" runat="server">
                                        </asp:DropDownList></td>
                                </tr>
                                <tr>
                                    <td colspan="5" class="tree-bottom-bg1">
                                        <asp:Button ID="btn_Search" runat="server" Text="" CssClass="inputBotton2" OnClick="btn_Search_Click" />&nbsp;
                                        <input id="btn_colse" type="button" value='<%=GetLanageValueByKey("btn_Colse", PowerCreator.LMS.Language.LanagetItemType.Page)%>'
                                            class="inputBotton2" onclick="ShowNo()" /></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
       </asp:Content>